home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 998 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.7 KB

  1. Path: news1.ucsd.edu!usenet
  2. From: djohnson@tartarus.ucsd.edu (Darin Johnson)
  3. Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
  4. Subject: Re: C or C++ for a 14-year old?
  5. Date: 08 Jan 1996 16:12:08 -0800
  6. Organization: UCSD Computer Science and Engineering Department
  7. Sender: djohnson@tartarus.ucsd.edu
  8. Message-ID: <qq68emns4n.fsf@tartarus.ucsd.edu>
  9. References: <4b30ld$lp2$1@mhafc.production.compuserve.com>
  10.     <w31V7MD4ED1aLz3@dexam.another.gun.de> <4bq9vh$11a@queeg.apci.net>
  11.     <4bqfob$l9a@ixnews3.ix.netcom.com> <4ch0fm$ldg@gold.datalytics.com>
  12.     <4cperv$g3j@news.bridge.net>
  13. NNTP-Posting-Host: tartarus.ucsd.edu
  14. In-reply-to: David Byrden's message of 7 Jan 1996 21:44:31 GMT
  15. X-Newsreader: Gnus v5.0
  16.  
  17. David Byrden <100101.2547@compuserve.com> writes:
  18. > What they may NOT learn, unless they
  19. > are guided, is good principles of software design and testing
  20. > and documentation. Teach these to a student, and you will have
  21. > done him/her a far greater favour than you could by introducing
  22. > a new language.
  23.  
  24. When I proctored an intro programming class for a couple of years, I
  25. often had to spend extra time helping students who had learned BASIC
  26. to unlearn their bad habits.  Very often such students were resistant
  27. to changing the way they did things, and said out loud in
  28. unmistakeable terms "why do I have to take this stupid class, I
  29. already know how to program" or "why should I do things your way.  I
  30. imagine that today, with C being more popular, that the freshmen have
  31. to unlearn C as well.
  32.  
  33. So there's a pull two ways.  First, you want your child to learn about
  34. computers, and second, you don't want your child to pick up the wrong
  35. ideas along the way.  That's why so many recommend avoiding BASIC,
  36. because it's so simple to learn, and thus is popular as a first
  37. language, but at the same time it is notorious for introducing poor
  38. programming practices.  I would suggest your best choice is to get a
  39. Pascal compiler, and let the child work on that first.  Teaching BASIC
  40. first may satisfy the immediate desires, but it will probably result
  41. in long term problems if your child decides to continue in the field
  42. (or worse yet, ends up as a scientist who knows a bit of fortran :-)
  43. For the same reason, I would also advise against a C compiler, since
  44. learn-it-yourself C can be pretty devestating as well.
  45.  
  46. A good Pascal compiler should be cheap, maybe there are some good
  47. free ones as well.  And they aren't limiting, you can do a heck of
  48. a lot with most PC or Mac Pascal systems.  From there, migrating to
  49. other languages isn't hard.  (personally, I'd think it would be
  50. interesting to see the result of learning lisp as a first language,
  51. but that probably takes a bit more discipline for a self taught
  52. language)
  53. -- 
  54. Darin Johnson
  55. djohnson@ucsd.edu  --  How come my mind went off for lunch before I did?
  56.